package learningThread.syn.synchronizedMethodLockObj.communicate.producerAndConsumer;

public class Consumer extends Thread{

    private Container container;

    public Consumer(Container container){
        this.container = container;
    }

    @Override
    public void run() {
        container.get();
    }
}
